﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Wfrm_Busca_Persona.aspx.vb" Inherits="WebAppTestBuilder.Wfrm_Busca_Persona" %>

<%@ Register assembly="Anthem" namespace="Anthem" tagprefix="anthem" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
  
    <script src="../Js/JQuery-1.6.1.js" type="text/javascript"></script>
    <script src="../Js/jquery.corners.js" type="text/javascript"></script>
 

    <script src="../Js/jquery.ui.mouse.js" type="text/javascript"></script>
    <script src="../Js/jquery.ui.draggable.js" type="text/javascript"></script>
    <script src="../Js/jquery.ui.core.js" type="text/javascript"></script>

    <script src="../Js/jquery.alerts.js" type="text/javascript"></script>
    <link href="../Css/jquery.alerts.css" rel="stylesheet" type="text/css" />
    
    <script type="text/javascript">

        $(document).ready(function () {
            $('.rounded').corners();
        });

     
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div >Buscador de Personas
    
        <table style="width: 100%">
            <tr>
                <td>
                    Sociedad</td>
                <td>
                    <anthem:DropDownList ID="cmb_sociedad" runat="server" AutoCallBack="True" 
                        EnabledDuringCallBack="False" Height="19px" Width="252px">
                    </anthem:DropDownList>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    Cedula Id.</td>
                <td>
                    <anthem:TextBox ID="txt_rut" runat="server"></anthem:TextBox>
                </td>
                <td>
                    Unidad Organizacional</td>
                <td>
                    <anthem:DropDownList ID="cmb_unid_org" runat="server" Height="19px" 
                        Width="252px">
                    </anthem:DropDownList>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    Apellido Paterno</td>
                <td>
                    <anthem:TextBox ID="txt_paterno" runat="server" Width="199px"></anthem:TextBox>
                </td>
                <td>
                    Cargo</td>
                <td>
                    <anthem:DropDownList ID="cmb_cargo" runat="server" Height="16px" Width="253px">
                    </anthem:DropDownList>
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    Apellido Materno</td>
                <td>
                    <anthem:TextBox ID="txt_materno" runat="server" Width="199px"></anthem:TextBox>
                </td>
                <td>
                    Unidad de Negocio</td>
                <td>
                    <anthem:DropDownList ID="cmb_unid_neg" runat="server" Height="25px" 
                        Width="254px">
                    </anthem:DropDownList>
                </td>
                <td>
                    <anthem:Button ID="btn_buscar" runat="server" EnabledDuringCallBack="False" 
                        Text="Buscar" />
                </td>
            </tr>
        </table>
    
    </div>
    <table style="width: 100%">
        <tr>
            <td>
                <anthem:DataGrid ID="DG_Resultado" runat="server" AutoGenerateColumns="False" 
                    Width="867px" AllowPaging="True" PageSize="20">
                    <Columns>
                        <asp:ButtonColumn CommandName="Select" Text="Ver Inf. Basica">
                        </asp:ButtonColumn>
                        <asp:BoundColumn DataField="Id_Persona" HeaderText="Id_Persona">
                        </asp:BoundColumn>
                        <asp:BoundColumn DataField="Rut" HeaderText="Cédula Id."></asp:BoundColumn>
                        <asp:BoundColumn DataField="apaterno" HeaderText="A. Paterno"></asp:BoundColumn>
                        <asp:BoundColumn DataField="amaterno" HeaderText="A. Materno"></asp:BoundColumn>
                        <asp:BoundColumn DataField="nombre" HeaderText="Nombre"></asp:BoundColumn>
                        <asp:BoundColumn DataField="Franquicia" HeaderText="Franquicia">
                        </asp:BoundColumn>
                        <asp:BoundColumn DataField="fecha_contrato" HeaderText="Fecha Contrato">
                        </asp:BoundColumn>
                    </Columns>
                    <PagerStyle Mode="NumericPages" PageButtonCount="30" />
                </anthem:DataGrid>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
